package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.Checklist;
import cn.wolfcode.crm.query.QueryObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ChecklistMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Checklist record);

    Checklist selectByPrimaryKey(Long id);

    List<Checklist> selectAll();

    int updateByPrimaryKey(Checklist record);

    List<Checklist> queryForList(QueryObject qo);

    int queryForCount(QueryObject qo);

   void changeState(@Param("id") Long id, @Param("status") Integer status);
}